#ifndef HEADER_PROTECTION
#define HEADER_PROTECTION

#include <SDL/SDL.h>
#include <iostream>

#include "../glob.h"
#include "Accessoir.h"
#include "../PlateForme/PlateForme.h"

class Pion;


class Protection : public Accessoir{

public :
	Protection(PlateForme *cubeAssoc , SDL_Surface *ec);
	bool reagit(Pion *p , int dir);
	bool doitDisparaitre();
private :
	bool estPorte;
};

#endif
